#pragma once
#include<cmath>

class Vector3
{
private:
	float x,y,z;
public:
	Vector3(float myX, float myY,float myZ)
	{
		x = myX;
		y = myY;
		z = myZ;
	}
	Vector3()
	{
		x = y = z = 0;
	}

	float getX() {return x;}
	float getY() {return y;}
	float getZ() {return z;}

	void setVector(float, float, float);
	void setVector(Vector3);

	bool equals(Vector3);

	float calcMagnitude();
	Vector3 calcNormalVect();

	Vector3 scale(float);
	Vector3 add(Vector3);
	Vector3 subtract(Vector3);

	float dot(Vector3);
	Vector3 cross(Vector3);

	Vector3 projectOnto(Vector3);
};